package leetcodecompetition.D359AC;

import java.util.List;

/**
 * @Author: Siantar
 * @Date: 2023-08-20-10:33
 * @Description: 1.0
 */
public class T7004 {
    public boolean isAcronym(List<String> words, String s) {
        if (words.size() != s.length()) return false;
        for (int i = 0; i < words.size(); i++) {
            if (words.get(i).charAt(0) != s.charAt(i)) {
                return false;
            }
        }
        return true;
    }
}
